#include "voda.h"
#include "script.h"
#include "thread_pool.h"
#include "application.h"
#include "console_io.h"

namespace voda
{
	boost::shared_ptr<io> create_console_io (boost::function<void(io*)> const & deleter)
	{
		return boost::static_pointer_cast<io> (console_io::create (deleter));
	}

	boost::shared_ptr<ithread_pool> create_thread_pool (boost::function<void(ithread_pool*)> const & deleter)
	{
		return boost::static_pointer_cast<ithread_pool> (thread_pool::create (deleter));
	}
}//namespace voda